home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 001 / icpr20.arc / ICPR20.DOC < prev    next >
Encoding:
Text File  |  1987-07-09  |  21.4 KB  |  435 lines

  1.  
  2.  
  3.  
  4.                                ICPR20
  5.                        In Command of PcPursuit
  6.                            Version: Procomm
  7.                            Revision: 2.0
  8.  
  9.                           Copyright 1987
  10.                             Wayne Wolf
  11.                          ww@ufcsg.ufl.edu
  12.  
  13.  
  14.         This package is distributed as ShareWare and is free to copy and
  15.     distribute.  Please help distribute these programs, but only in the
  16.     archived form ICPR20.  If you find this package useful,  your
  17.     contributions of any amount will be greatly appreciated.  Please feel
  18.     free to contact me to inform me of bugs, suggest modifications, or
  19.     just to say hi.
  20.         I can be reached at the following BBSs:
  21.  
  22.            Help Screen       (202) 524-3982
  23.            Net Exchange      (202) 689-3561  (or C PURSUIT,username,password)
  24.            Pc-Exchange       (404) 977-6686
  25.            The Right Place   (404) 476-2607
  26.  
  27.  
  28.  
  29.  
  30.  
  31.     
  32.  
  33.  
  34.                         WHAT IS ICPR20???
  35.     =====================================================================
  36.  
  37.         ICPR20 is a script file generator for use with Procomm
  38.     communications package to assist in using PcPursuit.  This package
  39.     contains all you need to reduce the chore of logging into your local
  40.     PcPursuit link, connecting to the destination city, and connecting
  41.     with the destination BBS to a mere TWO keystrokes!!!
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.                               WHY ICPR20???
  50.     =====================================================================
  51.  
  52.         ICPR20 is the at the top of its class because it designs script
  53.     files for you, custom designed to fit you.  You don't even need to
  54.     know the first thing about script file programming.  You don't have
  55.     to modify existing script files to suit you specifically like in
  56.     other PcPursuit script file packages.  Everything is totally
  57.     automated.  All you do is answer such questions as, "What BBS do you
  58.     wish to add?" or, "What Area Code do you wish to add?"  It's that
  59.     simple.  ICPR20 will perform maintenance of its script files so they
  60.     will remain current with PcPursuit's Area Codes and your specific
  61.     BBSs.
  62.  
  63.  
  64.  
  65.  
  66.  
  67.                          HOW DO I USE ICPR20???
  68.     =====================================================================
  69.  
  70.         It's fairly simple to use ICPR20.  There are three separate
  71.     script file generators.  Each generates a specific type of script
  72.     file.  First an explanation is given to clarify what each script file
  73.     does and how to use them.  After is a complete description of how and
  74.     when to use each generator.  The three are MAKED, MAKESTEP, and
  75.     MAKEOTHR.
  76.  
  77.  
  78.  
  79.  
  80.  
  81.                                  MAKED
  82.     =====================================================================
  83.  
  84.         This generator creates the file D.CMD.  D.CMD is the main 
  85.     controller script file.  It gives you the menu of all the current 
  86.     area codes and allows you to select which city to connect to through 
  87.     use of a menu.  Redial function is provided so if the city port is 
  88.     busy, it will try until a connection is established.  
  89.          
  90.     The first time you run ICPR20 you must run MAKED.  You must
  91.     supply it with all of PcPursuit's currently supported dial-in area 
  92.     codes (remember 301 and 703 are dial-in at 202).  Just type select
  93.     'Enter MAKED' from the main menu and you will be in MAKED.  Everything
  94.     is menu driven.  (A)dd all the area codes as it asks you.  Then type 
  95.     Q to quit adding and then (E)xit MAKED.  If you give MAKED an area code 
  96.     it doesn't know, it will ask you for the city name for that area code.
  97.         If PcPursuit adds a new dial-in area code or (hopfully never) if
  98.     they "can" an area code you should use MAKED again to add/delete the
  99.     area code.  When MAKED starts up, it searches the current directory
  100.     for an already existing D.CMD.  If found, it extracts the current
  101.     area codes from it, so you do not have to add all those area codes in
  102.     again.
  103.         So, you should only use MAKED to initialize D.CMD to have all the
  104.     current area codes, to add/delete an area code, or finally to update
  105.     the username/password/Baud rate if yours is changed.
  106.  
  107.  
  108.  
  109.  
  110.  
  111.                               MAKESTEP
  112.     =====================================================================
  113.  
  114.         MAKESTEP is a bit more complex the MAKED.  This generator does
  115.     not create just one file but many files.  The file D.CMD must have
  116.     subprograms, one for each city-area-code it knows.  These sub
  117.     programs are called step files.  MAKESTEP creates files with names
  118.     like STEP202.CMD and STEP813.CMD.  The step files are the command
  119.     files that assume command once the city connection has been
  120.     established.  These files handle dialing the BBSs.  The step files
  121.     also feature automatic redial as well as either racal or hayes modes.
  122.     They can contain up to 99 BBS numbers per city.
  123.         Using MAKESTEP is simple.  You just follow the menus.  Add new BBSs or 
  124.     delete ones already there that have expired.  You use MAKESTEP contstantly.
  125.     You use it to add or delete BBSs to and from each city.  
  126.         A handy feature incorporated into ICPR20 is the ability to 
  127.     execute ICPR20 from within Procomm while inside a step file!!!  This 
  128.     feature is great.  Now you can add BBSs 'on the fly'.  So, if you 
  129.     find a new BBS using 'M'anual dialing (see note) you don't have to 
  130.     log off PcPursuit, exit Procomm, invoke ICPR20 and add the BBS.  You 
  131.     just select 'E' from the current step file and it drops you right 
  132.     into ICPR20!  No hassles.
  133.  
  134. * NOTE *    A feature that was not documented in the previous revision
  135.             and also does not appear as a selection on the CMD file menus
  136.             while running a stepfile is when it asks you for the number of
  137.             the BBS to dial on the menu, or S to switch, or D to disconnect,
  138.             etc, you can enter an M or m for Manual dial.  This allows you to
  139.             call a bbs you don't have installed into the menu.  You will be
  140.             prompted for the phone number to dial.  This feature is handy!!!
  141.             I don't know why I made it a hidden feature, but why not have a
  142.             little mystery?
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.                                  MAKEOTHR
  152.     =====================================================================
  153.  
  154.         MAKEOTHR is the one that creates all the other command files
  155.     necessary for ICPR20 to function properly.  This should only be run
  156.     once.  It creates the necessary files and these files do not usually 
  157.     need updating.  If something happens to one of these files just run
  158.     MAKEOTHR again.  The files generated by MAKEOTHR are DIAL.CMD,
  159.     DISCNECT.CMD, PCP.CMD, MAKE.CMD. and R.CMD.
  160.  
  161.  
  162.  
  163.                    HOW AND WHEN TO USE ICPR20 GENERATORS
  164.     =====================================================================
  165.         When you first get this package you should run ICPR20 simply by 
  166.     typing ICPR20.  Goto MAKEOTHR submenu and answer it's questions.  It 
  167.     will ask you for your local dial-in link.  Give it your local Telenet 
  168.     phone number you use to access PcPursuit.  Next it will ask you for 
  169.     your modem's dialing prefix, such as ATDT for Hayes modems or D for 
  170.     Racal/Vadic modems.  This is used for the script PCP.CMD so your 
  171.     modem can dial your local link automatically.  Next it will ask you
  172.     if you wish it to make log files for each bbs it calls.  Most likely  
  173.     you do.  This feature is also very handy.  ICPR20, when it finally 
  174.     connects to a BBS, it will search the current directory for a script 
  175.     specific for that BBS.  If present it will invoke it.  This is for 
  176.     those who want to have log-in scripts for each BBS.  If a script is 
  177.     not present for that BBS then if you have told ICPR20 to make log 
  178.     files, it will open up a log file and record the session to the BBS 
  179.     that currently does not have a log-in script.  This way, you can use 
  180.     your favorite editor (remember ALT-A ?) and edit the log file into a 
  181.     script file for auto-login for that BBS.  If you told ICPR20 not to 
  182.     make log files, it will just go about business as usual and not 
  183.     record the session.  Remember, you don't have to know script 
  184.     programming to use this package.  If you don't want make auto-login 
  185.     scripts, then answer No to the query for making log files.  Lastly, 
  186.     it will ask you if you want sound.  This option tells the generators 
  187.     to make the scripts either sound an alarm or not when connecting to a 
  188.     city or BBS.  I use sound on because I can set the scripts on redial 
  189.     and do something else.  The bell then catches my attention and I can 
  190.     return to operating in PcPursuit.  
  191.          After answering all of these questions you will then select 
  192.     (A)ll to generate all the script files.  After it has created them 
  193.     (E)xit MAKEOTHR back to the main menu.
  194.        Next you should run MAKED and enter all the current area codes
  195.     currently supported by PcPursuit.  Before you can add them you must 
  196.     answer some more preliminary questions.  The first two ask for your 
  197.     username and password for PcPursuit access.  Next you will be asked 
  198.     for your baud rate, type either 1200 or 300.  After that it will 
  199.     ask you for the default modem type.  This is either Racal or Hayes, 
  200.     the two styles PcPursuit supports.  This selection determines 
  201.     whether, after connecting to a city, the ICPR20 scripts will do 
  202.     everything in Hayes mode or Racal mode.  I prefer the Racal mode 
  203.     because it is more descriptive during dials and faster to respond.  
  204.     But for those of you who like Hayes this option is for you.  Again 
  205.     you will be prompted for a default value, this time for Redialing.  
  206.     If you set the default to Active, then when you connect to a city, 
  207.     and when you dial a BBS, it will continue to dial that BBS until it 
  208.     connects.  Selecting Inactive simply makes it not redial.  Note that 
  209.     both default values for Modem style and Redial status are changeable 
  210.     from within the ICPR20 scripts.  These questions merely supply 
  211.     information for setting the default values.  Lastly you will be 
  212.     prompted for sound or not.  Sound On will make the alarm sound when 
  213.     a successful connection has been made to a BBS.  After these 
  214.     questions, enter the area codes.
  215.         Next, run MAKESTEP for each of the  area codes and enter any BBSs 
  216.     you currently call in each respective city.
  217.         If you have a hard drive then you're in luck.  I'll describe how
  218.     to do all this on a hard drive first, then a 'how to' on putting it
  219.     on a floppy system.
  220.  
  221.     
  222.  
  223.  
  224.  
  225.  
  226.        USING ON A HARD DRIVE SYSTEM
  227.        ----------------------------
  228.        To use this package on a hard drive system I suggest you have one
  229.     directory that contains all Procomm files and all command files.
  230.     Make sure you have ICPR20.COM inside this directory.  Now, just go to 
  231.     work using each generator to create the appropriate command files as 
  232.     outlined above. Included with this package is a batch file named 
  233.     HARD.BAT.  Copy this file into your Procomm directory and rename it 
  234.     to PRO.BAT.  To run, just type Pro.
  235.  
  236.       USING ON A FLOPPY BASED SYSTEM
  237.       ------------------------------
  238.         First, you must have two floppy drives.  You should get a blank
  239.     formatted disk and place ICPR20.COM on this disk.  Use ICPR20 to
  240.     create all the command files as outlined above on this disk only.   
  241.     When using Procomm with ICPR20 put the Procomm disk in drive A: and the 
  242.     command file disk into drive B:.  Type SET PROCOMM=B:\ and run Procomm 
  243.     using the command -->     Procomm /fPCP.cmd
  244.  
  245.     The file FLOPPY.BAT included with this package contains all you need
  246.     to set this up.  Merely put it onto your Procomm disk and rename it
  247.     to AUTOEXEC.BAT.  It will set up everything nicely when you boot your
  248.     system, provided your Procomm disk is bootable (Use SYS from DOS).
  249.  
  250.       USING ON A FLOPPY BASED SYSTEM WITH A RAMDISK
  251.       ---------------------------------------------
  252.         Again, it is suggested to have two drives but not necessary if
  253.     you do use a ramdisk.  If you have only one floppy and a ramdisk set
  254.     up then just follow the above procedure for making the command file
  255.     disk and just copy all the command files from the command file disk
  256.     to the ramdisk with something like:
  257.         A> ( insert your command files disk into drive A: )
  258.         A> COPY *.CMD C:   (after finished, replace Procomm disk to Drive A:)
  259.         A> SET PROCOMM=C:\
  260.         A> Procomm /fPCP.cmd
  261.  
  262.         If you do have two floppys and a ramdisk you are better set.  Do
  263.     as above and copy the command files from the command files disk to
  264.     drive C:.  The added advantage is that now drive B is free for things
  265.     like downloads/uploads and such.
  266.         A file called FLOPRAM.BAT is provided in the package which you
  267.     should rename to AUTOEXEC.BAT and place it on BOTH the Procomm disk AND
  268.     the command files disk (YOU MUST HAVE IT BOTH PLACES). It will set up
  269.     everything upon boot up.  Make sure you have a ramdisk installed though,
  270.     in the file Config.sys.  I suggest using Membrain as your ramdisk, but
  271.     any one will do.  Remember to run the creator files on the floppy disk
  272.     only, and not on the ramdisk, where the editions will be lost on power-off.
  273.  
  274.  
  275.  
  276.  
  277.                       USING ICPR20 WITH PROCOMM
  278.     =====================================================================
  279.  
  280.         When Procomm starts up and places you in the terminal mode you
  281.     just hit Alt-F5 and when it asks you for the script you type PCP.CMD.
  282.     This will initiate the PCP script which will dial your local
  283.     PcPursuit link and login for you.  It in turn will initiate D.CMD
  284.     which controls the rest of the program.  If you use the batch files
  285.     provided with the package, you'll have to do nothing but follow
  286.     menus.  The batch file will handle everything you need to do.
  287.         All ICPR20 scripts are menu driven just like the ICPR20 program 
  288.     itself.  Remember, at any time you can abort any script by hitting 
  289.     the ESC key.  
  290.         An added feature of ICPR20 is that when a connection is made to a
  291.     BBS, a script file is executed for that BBS.  These script files you
  292.     will have to make yourself, for these are specific for each BBS.  If
  293.     you do not wish to have a script file for each BBS for autologin
  294.     purposes then don't worry about it.  Procomm will go as normal and 
  295.     not know the difference.  Remember, if you told it to log the 
  296.     sessions then it will log them only if an auto-login script is not 
  297.     found.  After you log in and get the the main BBS menu, hit ALT-F1 to 
  298.     close the log file, only if it is logging.
  299.     
  300.         Once you disconnect from the bbs, you must do the
  301.     following:
  302.                1) Hit Alt-F5 to get a list of scripts
  303.                2) Answer the question with  R.CMD
  304.                3) It will assume control and ask you which step file to
  305.                   return to, you type STEPxxx, where xxx will be the city
  306.                   you are currently connected to, such as STEP202, or
  307.                   STEP404, etc.
  308.                4) Then it will ask you which mode you were in, make sure
  309.                   you tell it the correct one!  Remember, it will be
  310.                   whatever default you told it, unless you switched it 
  311.                   sometime during running.
  312.  
  313.         What about those BBS specific autologin script files?  Well,
  314.     ICPR20 will look for the script file with the name the same as the
  315.     BBS's phone number.  For example if the BBS's phone number is 555-
  316.     1672, then ICPR20, once it connects to the BBS, will attempt to
  317.     execute a script by the name of 5551672.CMD.  Remember it's up to you
  318.     to write these scripts, a useful utility for this is AUTOPRCM, which
  319.     is provided with the Procomm package.  There is also a package very
  320.     similar in nature to this that generates script files for PcBoard
  321.     for Procomm that would provide a nice interface with this.  It is
  322.     called SCRIPGEN and can be found on BBSs under the name of
  323.     SCPGEN1P.ARC.  I suggest you get this package.  Remember, you
  324.     really don't have to write these, as they are not necessary for
  325.     everything to function properly.  Also note that if you have selected 
  326.     the option to log sessions for BBSs that do not have auto-login 
  327.     scripts, the log file will have the name of the BBS number, but with 
  328.     no extension.  For example, if you connect to a bbs with the phone 
  329.     number of 555-1672 and have no auto-login script file for it, ICPR20 
  330.     will open a log file with the name 5551672.  Remember to close this 
  331.     log file manually when you get the the BBSs main menu and have logged 
  332.     on successfully.  Writing auto-login scripts are easy, look at how 
  333.     Autoprcm and SCRIPGEN make them and you'll be able to make your own 
  334.     easily. Remember!!!!  You don't need to know a thing about script 
  335.     programming to use ICPR20, that's what helps make it the best.
  336.         There is a glitch that occurs in rare cases.  This occurs when 
  337.     you connect to a BBS to which you assigned a phone number of 11 
  338.     digits, such as 1-813-555-1212.  If you have logging on it will 
  339.     create a log file by the name of 18135551.  And when you connect, it 
  340.     will first look for a cmd file by the name of 18135551.cmd.  This 
  341.     should not present much problem because the need to use a number of 
  342.     11 digits is extremely rare.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.                               TROUBLESHOOTING
  352.     =====================================================================
  353.  
  354.         Remember, at any point while in Procomm you can use the ESC key 
  355.     to abort an ICPR20 script and return to Procomm command level.  But I 
  356.     suggest you only do this if everything seems to have blown up.  
  357.         There only a few cases where an ICPR20  script gets confused.  One 
  358.     such instance happens some times when you connect to a city.  When the 
  359.     ICPR20 scripts will attempt to put you into Racal mode, sometimes it 
  360.     throws the modem into "MANUAL ANSWER" mode which you will be able to 
  361.     see if you are watching the screen while the ICPR20's scripts are 
  362.     plugging away.  If this happens, just use the (S)witch command TWICE in 
  363.     succession.  It will try to switch to Hayes, but wont be able to.  But, 
  364.     it will make it say MANUAL ANSWER again and then a second Switch will put 
  365.     it into Racal operating mode.  It doesn't happen often, but when it does it 
  366.     is easy to fix.
  367.         Sometimes when you (D)isconnect from a city port you will get 
  368.     kicked off of PcPursuit and you will hear the dreaded click from your 
  369.     modem.  The ICPR20 script will hang, waiting for the proper signal 
  370.     from the PcPursuit's modem, which it will never get since it now has 
  371.     hung up on you.  If this happens, just hit the ESC key.  This will 
  372.     return you to Procomm's command level and you then should hit ALT-F5 
  373.     which will allow you to execute a script by name.  When it prompts 
  374.     you for the name, you type PCP.  Hit the return and it will start 
  375.     over once again.  It will start from the point where it dials your 
  376.     local dial-in and that's all it takes.
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.                       WHO THE HECK WROTE THIS???
  390.     =====================================================================
  391.  
  392.         My name is Wayne Wolf.  I am currently a senior at University of
  393.     Florida majoring in CIS Engineering.  At present I am enjoying a
  394.     break from school and am at home for the summer, until August 15.
  395.     That is why I give two addresses.  Work brings in a little money but
  396.     definitely not enough to pay for college.  That is why I ask you, if
  397.     you find this package useful and use it, and you feel like it, you
  398.     are more than welcome to pay for it.  Please feel free to contact me
  399.     and fill me full of suggestions on how to improve this package.
  400.  
  401.  
  402.  
  403.                            THAT'S ALL FOLKS
  404.     =====================================================================
  405.  
  406.         Well, that's it.  I guess.  I write poor documentation, as do
  407.     most programmers and I apologize if I have clouded anything or left
  408.     something out that would be useful.  If you have any suggestions
  409.     about anything relating to this package please contact me.  Enjoy
  410.     and use this package!  It is out there to share, so pass it around.
  411.     And if you find this package of value, please feel free to send a
  412.     contribution, $20 suggested, but anything would be great.  Even if
  413.     you cannot afford a donation, please take the time to contact me,
  414.     either through unix mail, BBS E-mail, or the U.S. mail, and let me
  415.     know what you think about ICPR20.
  416.  
  417.                                Wayne Wolf
  418.  
  419.  
  420.     thru August 15, 1987             Wayne Wolf   (ww@ufcsg.ufl.edu)
  421.                                    810 Arietta Dr.
  422.                                 Auburndale, Fl. 33823
  423.                                    (813)-967-3483
  424.  
  425.     after August 15, 1987           Wayne Wolf   (ww@ufcsg.ufl.edu)
  426.                                2930 SW 23rd Terrace
  427.                                    Apt. # 5-09
  428.                               Gainesville, Fl. 32608
  429.                                    (904)-338-1735
  430.  
  431.  
  432.  
  433.  
  434. 
  435.